#ifndef WINGO_H
#define WINGO_H

#include <QObject>
#include <QString>
#include <QList>
#include <QJsonObject>
#include <QJsonArray>
#include <QLocalSocket>
#include <QProcessEnvironment>
#include <QDir>


class WinGO : public QObject
{
    Q_OBJECT
private:
    explicit WinGO(QObject *parent = nullptr);

    QLocalSocket conn;

public:
    static WinGO& getInstance();

    void GetColors();
    void GetWallpapers();

public slots:

    Q_INVOKABLE void setColorWallpaper(QString value);

signals:
    void sig_get_pureColors(QJsonArray);
    void sig_get_wallpapers(QJsonArray);
};

#endif // WINGO_H
